package com.wbk.lotterysystemlotteryservice.commons.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LotteryWinDTO  implements Serializable {

    @ApiModelProperty(value = "抽奖标题")
    private String lotteryTitle;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "奖品等级")
    private String prizeLevel;

    @ApiModelProperty(value = "奖品内容")
    private String prizeContent;

    @ApiModelProperty(value = "参与时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;
}
